package net.mikoo.seals.boss.model;

import java.util.Date;

import net.mikoo.seals.boss.common.BaseModel;

public class Devices extends BaseModel {

	private static final long serialVersionUID = 7090671103072825893L;

	/**
	 * 设备编号
	 */
	private Long devicesId;

	private String devicesCode;

	/**
	 * 所属公司ID
	 */
	private Long companyId;

	private String model;

	/**
	 * 印章名称
	 */
	private String alias;

	/**
	 * 出厂日期
	 */
	private Date produceDate;

	/**
	 * 绑定时间
	 */
	private Date bindingTime;

	/**
	 * 开通时间
	 */
	private Date installTime;

	/**
	 * 失效日期
	 */
	private Date expireDate;

	/**
	 * 使用总次数
	 */
	private Integer useTimes;

	/**
	 * 被申请总次数
	 */
	private Integer applyTimes;

	/**
	 * 设备状态 待绑定、待安装、 正常、已借出、已失效、禁止使用、报废、维修中
	 */
	private String devicesStatus;

	/**
	 * 设备备注
	 */
	private String remark;

	private String isActivate;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 审批流程ID
	 */
	private Long workflowId;

	/**
	 * 办法版本号控制
	 */
	private Integer version;

	/**
	 * 支持网络
	 */
	private String network;

	private String sign;

	private String mac;

	private String devicesVerson;

	private Company company;

	public Devices() {

	}

	public Long getDevicesId() {
		return devicesId;
	}

	public void setDevicesId(Long devicesId) {
		this.devicesId = devicesId;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public Date getProduceDate() {
		return produceDate;
	}

	public void setProduceDate(Date produceDate) {
		this.produceDate = produceDate;
	}

	public Date getBindingTime() {
		return bindingTime;
	}

	public void setBindingTime(Date bindingTime) {
		this.bindingTime = bindingTime;
	}

	public Date getInstallTime() {
		return installTime;
	}

	public void setInstallTime(Date installTime) {
		this.installTime = installTime;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public Integer getUseTimes() {
		return useTimes;
	}

	public void setUseTimes(Integer useTimes) {
		this.useTimes = useTimes;
	}

	public Integer getApplyTimes() {
		return applyTimes;
	}

	public void setApplyTimes(Integer applyTimes) {
		this.applyTimes = applyTimes;
	}

	public String getDevicesStatus() {
		return devicesStatus;
	}

	public void setDevicesStatus(String devicesStatus) {
		this.devicesStatus = devicesStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getWorkflowId() {
		return workflowId;
	}

	public void setWorkflowId(Long workflowId) {
		this.workflowId = workflowId;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getDevicesVerson() {
		return devicesVerson;
	}

	public void setDevicesVerson(String devicesVerson) {
		this.devicesVerson = devicesVerson;
	}

	public String getDevicesCode() {
		return devicesCode;
	}

	public void setDevicesCode(String devicesCode) {
		this.devicesCode = devicesCode;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getIsActivate() {
		return isActivate;
	}

	public void setIsActivate(String isActivate) {
		this.isActivate = isActivate;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	@Override
	public String toString() {
		return "Devices [devicesId=" + devicesId + ", companyId=" + companyId + ", model=" + model + ", alias=" + alias + ", produceDate=" + produceDate + ", bindingTime=" + bindingTime + ", installTime=" + installTime
				+ ", expireDate=" + expireDate + ", useTimes=" + useTimes + ", applyTimes=" + applyTimes + ", devicesStatus=" + devicesStatus + ", remark=" + remark + ", createTime=" + createTime + ", workflowId="
				+ workflowId + ", version=" + version + "]";
	}

}